<template>
    <el-dialog :title="data.title" custom-class="bus_dialog" :append-to-body="true" :visible.sync="show" width="600px" @close="close">
        <div class="content" v-html="data.content"></div>
    </el-dialog>
</template>
<script>
    export default {
        props: ["data",'show'],
        data(){
            return{

            };
        },
        mounted() {

        },
        methods: {
            close(){
               this.$emit('CloseClick','disclaimersShow')
            }
        },
    }
    
</script>
<style lang="less" scoped>
::v-deep .bus_dialog{
    border-radius: 3px;
    .el-dialog__header {
        padding-top: 15px;
    }
    .el-dialog__title{
        font-size: 16px;
        color: @fff;
        text-align: center;
        display: block;
        .el-dialog__headerbtn {
            top: 10px;
            font-size: 20px;
        }
    }
    .content{
        max-height: 500px;
        overflow: auto;
        padding-right: 16px;
    }
}
    
</style>